#include<bits/stdc++.h>

using namespace std;



int main(){

    string a,b;

    cin>>a>>b;

    int sa=0,sb=0;

    for(int i=0;i<a.length();i++){

        if(a[i]>='A'&&a[i]<='Z')a[i]+=32;

        sa+=a[i];

    }

    for(int i=0;i<b.length();i++){

        if(b[i]>='A'&&b[i]<='Z')b[i]+=32;

        sb+=b[i];

    }

    if(sa==sb)cout<<"="<<endl;

    else if(sa<sb)cout<<"<"<<endl;

    else cout<<">"<<endl;

    return 0;

    }